#ifndef __SERIAL_H
#define __SERIAL_H
#include <stdio.h>   
#include "stdint.h"   //声明uint8_t时，要在头文件加上这一行

	
extern char Serial_RxPacket[4];	
extern uint8_t Serial_RxFlag;

void Serial_SendByte(uint8_t Byte);
void Serial_Init(void);
void Serial_SendArray(uint8_t *Array, uint16_t Length);
void Serial_SendString(char *String);
uint32_t Serial_Pow(uint32_t X, uint32_t Y);
void Serial_Printf(char *format, ...);
int fputc(int ch, FILE *f);
void Serial_SendNumber(uint32_t Number, uint8_t Length);


#endif


